package com.ruoyi.material.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MaterialProduct extends BaseEntity {
    private Long evaluateId;
    private Long deptId;
    private Long companyId;
    private Long mateproductId;
    private String mateProductName;
    private String mateCategory;
    private Long materialId;//生产商id
    private String materialName;//生产商名称
    private String checkPursuant;//检验依据
    private int factor;
    private String mateProductType;//型号
    private String supplyAbility;
    private List<MateProductModel> mateProductModel;
    private List<MateProductDevice> mateProductDevices;
    private Long purchaseCycle;//到货的周期天数
    private String purchaseUnit;//采购的周期单位
    private int selectCycle;//选择要查询的天数周期
    private Long purchaseTime;//采购时间点

    public Long getPurchaseCycle() {
        return purchaseCycle;
    }

    public void setPurchaseCycle(Long purchaseCycle) {
        this.purchaseCycle = purchaseCycle;
    }

    public String getPurchaseUnit() {
        return purchaseUnit;
    }

    public void setPurchaseUnit(String purchaseUnit) {
        this.purchaseUnit = purchaseUnit;
    }

    public int getSelectCycle() {
        return selectCycle;
    }

    public void setSelectCycle(int selectCycle) {
        this.selectCycle = selectCycle;
    }

    public Long getPurchaseTime() {
        return purchaseTime;
    }

    public void setPurchaseTime(Long purchaseTime) {
        this.purchaseTime = purchaseTime;
    }

    /**
     * 创建的时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    public List<MateProductDevice> getMateProductDevices() {
        return mateProductDevices;
    }

    public void setMateProductDevices(List<MateProductDevice> mateProductDevices) {
        this.mateProductDevices = mateProductDevices;
    }

    public String getSupplyAbility() {
        return supplyAbility;
    }

    public void setSupplyAbility(String supplyAbility) {
        this.supplyAbility = supplyAbility;
    }

    public Long getEvaluateId() {
        return evaluateId;
    }

    public void setEvaluateId(Long evaluateId) {
        this.evaluateId = evaluateId;
    }

    public int getFactor() {
        return factor;
    }

    public void setFactor(int factor) {
        this.factor = factor;
    }

    public String getCheckPursuant() {
        return checkPursuant;
    }

    public void setCheckPursuant(String checkPursuant) {
        this.checkPursuant = checkPursuant;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getMateProductType() {
        return mateProductType;
    }

    public void setMateProductType(String mateProductType) {
        this.mateProductType = mateProductType;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public List<MateProductModel> getMateProductModel() {
        return mateProductModel;
    }

    public void setMateProductModel(List<MateProductModel> mateProductModel) {
        this.mateProductModel = mateProductModel;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Long getMateproductId() {
        return mateproductId;
    }

    public void setMateproductId(Long mateproductId) {
        this.mateproductId = mateproductId;
    }

    public String getMateProductName() {
        return mateProductName;
    }

    public void setMateProductName(String mateProductName) {
        this.mateProductName = mateProductName;
    }

    public String getMateCategory() {
        return mateCategory;
    }

    public void setMateCategory(String mateCategory) {
        this.mateCategory = mateCategory;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }


}
